import request from "@/api/request.js";

const url = '/productType'
const listTreeUrl = url + '/listTree'
export default {
    url,
    /**
     * 获取产品的树状结构
     * @returns {Promise<AxiosResponse<any>> | Promise<axios.AxiosResponse<any>> | *}
     */
    listTree() {
        return request.httpGet(listTreeUrl);
    }
}
